package qeug.shsh.facde.resultext;

import kd.bos.entity.api.ApiResult;
import kd.bos.openapi.common.custom.annotation.ApiModel;
import kd.bos.openapi.common.custom.annotation.ApiParam;

import java.io.Serializable;
import java.math.BigDecimal;

@ApiModel
public class SapResultExt extends ApiResult implements Serializable {

    @ApiParam("业务日期")
    private String bizDate;

    @ApiParam("记账日期")
    private String accountDate;

    @ApiParam("凭证类型")
    private String voucherType;

    @ApiParam("凭证号")
    private String vouchernum;

    @ApiParam("制单人")
    private String creator;

    @ApiParam("币别")
    private BigDecimal currrenyNum;

    @ApiParam("冲销年度")
    private String cxYear;

    @ApiParam("冲销由（冲销凭证号）")
    private String cxNum;


    @ApiParam("凭证分录")
    private Entry entrys;

    public String getBizDate() {
        return bizDate;
    }

    public void setBizDate(String bizDate) {
        this.bizDate = bizDate;
    }

    public String getAccountDate() {
        return accountDate;
    }

    public void setAccountDate(String accountDate) {
        this.accountDate = accountDate;
    }

    public String getVoucherType() {
        return voucherType;
    }

    public void setVoucherType(String voucherType) {
        this.voucherType = voucherType;
    }

    public String getVouchernum() {
        return vouchernum;
    }

    public void setVouchernum(String vouchernum) {
        this.vouchernum = vouchernum;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public BigDecimal getCurrrenyNum() {
        return currrenyNum;
    }

    public void setCurrrenyNum(BigDecimal currrenyNum) {
        this.currrenyNum = currrenyNum;
    }

    public String getCxYear() {
        return cxYear;
    }

    public void setCxYear(String cxYear) {
        this.cxYear = cxYear;
    }

    public String getCxNum() {
        return cxNum;
    }

    public void setCxNum(String cxNum) {
        this.cxNum = cxNum;
    }

    public Entry getEntrys() {
        return entrys;
    }

    public void setEntrys(Entry entrys) {
        this.entrys = entrys;
    }

    @ApiModel
    public static class Entry implements Serializable {

        @ApiParam("行项目编号")
        private String buzei;

        @ApiParam("行项目文本")
        private String SGTX;

        @ApiParam("借贷标识")
        private String shkzg;

        @ApiParam("科目号")
        private String hkont;
        @ApiParam("科目名称）")
        private String hkontname;
        @ApiParam("凭证金额")
        private String wrbtr;

        @ApiParam("成本中心")
        private String kostl;

        @ApiParam("成本中心名称")
        private String kostlname;

        @ApiParam("订单号")
        private String aufnr;

        @ApiParam("订单号描述")
        private String aufnrname;


        public String getBuzei() {
            return buzei;
        }

        public void setBuzei(String buzei) {
            this.buzei = buzei;
        }

        public String getSGTX() {
            return SGTX;
        }

        public void setSGTX(String SGTX) {
            this.SGTX = SGTX;
        }

        public String getShkzg() {
            return shkzg;
        }

        public void setShkzg(String shkzg) {
            this.shkzg = shkzg;
        }

        public String getHkont() {
            return hkont;
        }

        public void setHkont(String hkont) {
            this.hkont = hkont;
        }

        public String getHkontname() {
            return hkontname;
        }

        public void setHkontname(String hkontname) {
            this.hkontname = hkontname;
        }

        public String getWrbtr() {
            return wrbtr;
        }

        public void setWrbtr(String wrbtr) {
            this.wrbtr = wrbtr;
        }

        public String getKostl() {
            return kostl;
        }

        public void setKostl(String kostl) {
            this.kostl = kostl;
        }

        public String getKostlname() {
            return kostlname;
        }

        public void setKostlname(String kostlname) {
            this.kostlname = kostlname;
        }

        public String getAufnr() {
            return aufnr;
        }

        public void setAufnr(String aufnr) {
            this.aufnr = aufnr;
        }

        public String getAufnrname() {
            return aufnrname;
        }

        public void setAufnrname(String aufnrname) {
            this.aufnrname = aufnrname;
        }
    }


}
